import { main } from "./src/renameAndScan.js";

const targetDir = process.argv[2];

console.log("目标目录：", targetDir);

main(targetDir).catch((err) => {
  console.error("执行失败：", err);
  process.exit(1);
});